﻿using System.Collections.Generic;
using ControleRepresentante.Logic.Models;
using WebSite.ViewModels.Fields;

namespace WebSite.ViewModels.ViewModelExtensions.DetailsViewModelExtensions
{
    public class ClienteJolitexDetailsViewModel : JolitexDetailsViewModel<Cliente>
    {
        protected override IEnumerable<IField> GetGeralAdditionalFields(Cliente model)
        {
            yield return new LabelField("Codigo Jolitex", "codigoJolitex", model.ClienteJolitex.Codigo);
            yield return new LabelField("Regiao", "regiao", model.ClienteJolitex.Regiao);
        }
    }
}